﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="CompanyJobDetail.aspx.cs" Inherits="JobManage_CompanyJobDetail" Title="Job详细信息" culture="auto" meta:resourcekey="PageResource3" uiculture="auto" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="title">
                &nbsp;<asp:Label ID="lblPageType" runat="server" Text="查看Job详细信息" 
                    meta:resourcekey="lblPageTypeResource1"></asp:Label></div>
            <table class="add_table" cellspacing="1" cellpadding="3" align="center">
                <tr>                  
                    <td align="right">
                        <asp:Label ID="lblBookingNO" runat="server" Text="Booking预约号：" 
                            meta:resourcekey="lblBookingNOResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtBookingNO" runat="server" 
                            meta:resourcekey="txtBookingNOResource1"></asp:Label>
                    </td>
                     <td align="right">
                        <asp:Label ID="lblBookingDate" runat="server" Text="预约时间：" 
                             meta:resourcekey="lblBookingDateResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtBookingDate" runat="server" 
                            meta:resourcekey="txtBookingDateResource1"></asp:Label>
                    </td>
                     <td align="right">
                        <asp:Label ID="lblVendor" runat="server" Text="工厂：" 
                             meta:resourcekey="lblVendorResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtVendor" runat="server" meta:resourcekey="txtVendorResource1"></asp:Label>
                    </td>
                </tr>
                <tr>    
                 
                    <td align="right">
                        <asp:Label ID="lblArrangeDate" runat="server" Text="分配时间：" 
                            meta:resourcekey="lblArrangeDateResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtArrangeDate" runat="server" 
                            meta:resourcekey="txtArrangeDateResource1"></asp:Label>
                    </td>        
                      <td align="right">
                        <asp:Label ID="lblArrangeUser" runat="server" Text="分配人：" 
                              meta:resourcekey="lblArrangeUserResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtArrangeUser" runat="server" 
                            meta:resourcekey="txtArrangeUserResource1"></asp:Label>
                    </td>     
                    <td align="right">
                        <asp:Label ID="lblCheckDate" runat="server" Text="审核时间：" 
                            meta:resourcekey="lblCheckDateResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtCheckDate" runat="server" 
                            meta:resourcekey="txtCheckDateResource1"></asp:Label>
                    </td>
                </tr>             
                <tr>                  
                     <td align="right">
                        <asp:Label ID="lblCheckUser" runat="server" Text="审核人：" 
                             meta:resourcekey="lblCheckUserResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtCheckUser" runat="server" 
                            meta:resourcekey="txtCheckUserResource1"></asp:Label>
                    </td>
                     <td align="right">
                        <asp:Label ID="lblConfimDate" runat="server" Text="确认时间：" 
                             meta:resourcekey="lblConfimDateResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtConfimDate" runat="server" 
                            meta:resourcekey="txtConfimDateResource1"></asp:Label>
                    </td>
                     <td align="right">
                        <asp:Label ID="lblConfimUser" runat="server" Text="确认人：" 
                             meta:resourcekey="lblConfimUserResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtConfimUser" runat="server" 
                            meta:resourcekey="txtConfimUserResource1"></asp:Label>
                    </td>
                </tr>              
                <tr>
                
                 <td align="right">
                        <asp:Label ID="lblPrintDate" runat="server" Text="打印时间：" 
                            meta:resourcekey="lblPrintDateResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtPrintDate" runat="server" 
                            meta:resourcekey="txtPrintDateResource1"></asp:Label>
                    </td>
                             <td align="right">
                        <asp:Label ID="lblPrintUser" runat="server" Text="打印人：" 
                                     meta:resourcekey="lblPrintUserResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtPrintUser" runat="server" 
                            meta:resourcekey="txtPrintUserResource1"></asp:Label>
                    </td>  
                     <td align="right">
                        <asp:Label ID="lblCancelDate" runat="server" Text="取消时间：" 
                             meta:resourcekey="lblCancelDateResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtCancelDate" runat="server" 
                            meta:resourcekey="txtCancelDateResource1"></asp:Label>
                    </td>         
                </tr>
                <tr>
                     <td align="right">
                        <asp:Label ID="lblCancelUser" runat="server" Text="取消人 ：" 
                             meta:resourcekey="lblCancelUserResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtCancelUser" runat="server" 
                            meta:resourcekey="txtCancelUserResource1"></asp:Label>
                    </td>  
                 <td align="right">
                        <asp:Label ID="lblCancelConfirmDate" runat="server" Text="取消确认时间 ：" 
                            meta:resourcekey="lblCancelConfirmDateResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtCancelConfirmDate" runat="server" 
                            meta:resourcekey="txtCancelConfirmDateResource1"></asp:Label>
                    </td> 
                     <td align="right">
                        <asp:Label ID="lblCancelConfirmUser" runat="server" Text="取消确认人 ：" 
                             meta:resourcekey="lblCancelConfirmUserResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtCancelConfirmUser" runat="server" 
                            meta:resourcekey="txtCancelConfirmUserResource1"></asp:Label>
                    </td>                                      
                </tr>               
                <tr>
                
                     <td align="right">
                        <asp:Label ID="lblCancelArrDate" runat="server" Text="取消分配时间 ：" 
                             meta:resourcekey="lblCancelArrDateResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtCancelArrDate" runat="server" 
                            meta:resourcekey="txtCancelArrDateResource1"></asp:Label>
                    </td>  
                   <td align="right">
                        <asp:Label ID="lblCancelArrangeUser" runat="server" Text="取消分配人 ：" 
                            meta:resourcekey="lblCancelArrangeUserResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtCancelArrangeUser" runat="server" 
                            meta:resourcekey="txtCancelArrangeUserResource1"></asp:Label>
                    </td> 
                     <td align="right">
                        <asp:Label ID="lblMateReceiptDate" runat="server" Text="尾纸日期 ：" 
                             meta:resourcekey="lblMateReceiptDateResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtMateReceiptDate" runat="server" 
                            meta:resourcekey="txtMateReceiptDateResource1"></asp:Label>
                    </td>     
                </tr>               
                <tr>
                  <td align="right">
                        <asp:Label ID="lblMateReceiptConfirmUser" runat="server" Text="尾纸确认人 ：" 
                            meta:resourcekey="lblMateReceiptConfirmUserResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtMateReceiptConfirmUser" runat="server" 
                            meta:resourcekey="txtMateReceiptConfirmUserResource1"></asp:Label>
                    </td> 
                      <td align="right">
                        <asp:Label ID="lblStatus" runat="server" Text="状态：" 
                              meta:resourcekey="lblStatusResource1"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="txtStatus" runat="server" meta:resourcekey="txtStatusResource1"></asp:Label>
                    </td>
                   <td align="right">
                   <asp:Label ID="lblAppointment" runat="server" Text="Appointment"></asp:Label>
                   </td>
                   <td>
                   <asp:Label ID="txtAppointment" runat="server"></asp:Label>
                   </td>
                </tr>
                <tr>
                 <td align="right">
                        <asp:Label ID="lblRemark" runat="server" Text="备注" 
                            meta:resourcekey="lblRemarkResource1"></asp:Label>
                    </td>
                    <td colspan="5">
                        <asp:Label ID="txtRemark" runat="server" Width="90%" 
                            meta:resourcekey="txtRemarkResource1"></asp:Label>
                    </td>
                </tr>
            </table>
            <div class="title">
                &nbsp;<asp:Label ID="lblTitleDetail" runat="server" Text="Job详细信息列表" 
                    meta:resourcekey="lblTitleDetailResource1"></asp:Label></div>
            <div class="list_title">
                <div class="autoleft">
                     <asp:Label ID="lblSelectOut" runat="server" Text="检索出" 
                            meta:resourcekey="lblSelectOutResource1"></asp:Label>
                     <asp:Label ID="lblTotal" runat="server" meta:resourcekey="lblTotalResource1"></asp:Label> <asp:Label ID="lblSelectOut2" runat="server" Text="条记录" 
                            meta:resourcekey="lblSelectOut2Resource1"></asp:Label></div>
                <div class="autoright">
                     <asp:Label ID="lblPerPage" runat="server" Text="每页显示：" 
                            meta:resourcekey="lblPerPageResource1"></asp:Label>
                    <asp:DropDownList ID="ddlPages" runat="server" AutoPostBack="True" 
                         OnSelectedIndexChanged="ddlPages_SelectedIndexChanged" 
                         meta:resourcekey="ddlPagesResource1">
                        <asp:ListItem Selected="True" Text="5" Value="5" 
                            meta:resourcekey="ListItemResource1"></asp:ListItem>
                        <asp:ListItem Text="10" Value="10" meta:resourcekey="ListItemResource2"></asp:ListItem>
                    </asp:DropDownList>
                </div>
            </div>
            <div style="overflow: auto; width: 100%; height: 400px; padding: 1px;">
                <asp:GridView ID="gvShipperOrderDetailList" runat="server" AllowPaging="True" PageSize="5"
                    EmptyDataText="Job详细为空" AutoGenerateColumns="False" Width="100%" CssClass="tblGridView"
                    AllowSorting="True" 
                    onpageindexchanging="gvShipperOrderDetailList_PageIndexChanging" 
                    onsorting="gvShipperOrderDetailList_Sorting" 
                    meta:resourcekey="gvShipperOrderDetailListResource1">
                    <PagerTemplate>
                        <table style="width: 100%">
                            <tr>
                                <td>
                                     <asp:Label ID="lblPerPage" runat="server" Text="页次" 
                                        meta:resourcekey="lblPerPageResource2"></asp:Label>:&nbsp;<asp:Label 
                                         ID="Label1" runat="server" 
                                         Text='<%# ((GridView)Container.Parent.Parent).PageIndex+1 %>' 
                                         meta:resourcekey="Label1Resource1"></asp:Label>/<asp:Label
                                        ID="Label2" runat="server" 
                                         Text='<%# ((GridView)Container.Parent.Parent).PageCount %>' 
                                         meta:resourcekey="Label2Resource1"></asp:Label><asp:Label
                                                ID="lblPage" runat="server" Text="页" 
                                        meta:resourcekey="lblPageResource1"></asp:Label>&nbsp;
                                     <asp:Label ID="lblTotalPages" runat="server" Text="总计" 
                                        meta:resourcekey="lblTotalPagesResource1"></asp:Label>&nbsp;<asp:Label 
                                         ID="Label3" runat="server" 
                                         Text="<%# ((System.Data.DataView)gvShipperOrderDetailList.DataSource).Count %>" 
                                         meta:resourcekey="Label3Resource1"></asp:Label>
                                </td>
                                <td align="right">
                                    <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Page" CommandArgument="First"
                                        Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=0 %>" 
                                        Text="首页" meta:resourcekey="LinkButton1Resource1"></asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton2" runat="server" CommandArgument="Prev" CommandName="Page"
                                        Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=0 %>" 
                                        Text="前页" meta:resourcekey="LinkButton2Resource1"></asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton3" runat="server" CommandName="Page" CommandArgument="Next"
                                        Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=((GridView)Container.Parent.Parent).PageCount-1 %>"
                                        Text="后页" meta:resourcekey="LinkButton3Resource1"></asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton4" runat="server" CommandArgument="Last" CommandName="Page"
                                        Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=((GridView)Container.Parent.Parent).PageCount-1 %>"
                                        Text="尾页" meta:resourcekey="LinkButton4Resource1"></asp:LinkButton>&nbsp;
                                    <asp:Label ID="lblTurnOn" runat="server" Text="转第" 
                                        meta:resourcekey="lblTurnOnResource1"></asp:Label>
                                    <asp:TextBox ID="txtPages"
                                        runat="server" Width="35px" meta:resourcekey="txtPagesResource1"></asp:TextBox>
                                    <asp:Label ID="lblPages2" runat="server" Text="页" 
                                        meta:resourcekey="lblPages2Resource1"></asp:Label>
                                    <asp:LinkButton ID="lbtnGo" runat="server" Text="提交" OnClick="lbtnGo_Click" 
                                        meta:resourcekey="lbtnGoResource1"></asp:LinkButton>
                                </td>
                            </tr>
                        </table>
                    </PagerTemplate>
                    <Columns>
                     <asp:TemplateField HeaderText="序号" meta:resourcekey="TemplateFieldResource1">
                            <ItemTemplate>
                                <asp:Label ID="lblNo" runat="server" Text='<%# (Container as GridViewRow).RowIndex + 1 %>'
                                    meta:resourcekey="lblNoResource2"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="落货纸号" SortExpression="SONO" 
                            meta:resourcekey="TemplateFieldResource2">
                            <ItemTemplate>
                                <asp:Label ID="lblSONO" runat="server" Text='<%# Eval("SONO") %>' 
                                    meta:resourcekey="lblSONOResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>                    
                        <asp:TemplateField HeaderText="开仓日期" SortExpression="WinStart" 
                            meta:resourcekey="TemplateFieldResource3">
                            <ItemTemplate>
                                <asp:Label ID="lblWinStart" runat="server" 
                                    Text='<%# String.Format("{0:yyyy-MM-dd}",Eval("WinStart")) %>' 
                                    meta:resourcekey="lblWinStartResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="截数日期" SortExpression="WinClose" 
                            meta:resourcekey="TemplateFieldResource4">
                            <ItemTemplate>
                                <asp:Label ID="lblWinClose" runat="server" 
                                    Text='<%# String.Format("{0:yyyy-MM-dd}", Eval("WinClose")) %>' 
                                    meta:resourcekey="lblWinCloseResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="JobDate" SortExpression="JobDate" 
                            meta:resourcekey="TemplateFieldResource5">
                            <ItemTemplate>
                                <asp:Label ID="lblJobDate" runat="server" 
                                    Text='<%# String.Format("{0:yyyy-MM-dd}", Eval("JobDate")) %>' 
                                    meta:resourcekey="lblJobDateResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>                       
                        <asp:TemplateField HeaderText="仓库" SortExpression="WhouseID" 
                            meta:resourcekey="TemplateFieldResource6">
                            <ItemTemplate>
                                <asp:Label ID="lblWhouseID" runat="server" 
                                    Text='<%# GetClient(Eval("WhouseID")) %>' 
                                    meta:resourcekey="lblWhouseIDResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="整框/散货" SortExpression="FCLLCL" 
                            meta:resourcekey="TemplateFieldResource7">
                            <ItemTemplate>
                                <asp:Label ID="lblFCLLCL" runat="server" Text='<%# Eval("FCLLCL") %>' 
                                    meta:resourcekey="lblFCLLCLResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>                      
                        <asp:TemplateField HeaderText="货号" SortExpression="ItemNO" 
                            meta:resourcekey="TemplateFieldResource8">
                            <ItemTemplate>
                                <asp:Label ID="lblItemNO" runat="server" Text='<%# Eval("ItemNO") %>' 
                                    meta:resourcekey="lblItemNOResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="件数" SortExpression="PCS" 
                            meta:resourcekey="TemplateFieldResource9">
                            <ItemTemplate>
                                <asp:Label ID="lblPCS" runat="server" Text='<%# Eval("PCS") %>' 
                                    meta:resourcekey="lblPCSResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="箱数" SortExpression="CTN" 
                            meta:resourcekey="TemplateFieldResource10">
                            <ItemTemplate>
                                <asp:Label ID="lblCTN" runat="server" Text='<%# Eval("CTN") %>' 
                                    meta:resourcekey="lblCTNResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="毛重" SortExpression="PCGrossWTS" 
                            meta:resourcekey="TemplateFieldResource11">
                            <ItemTemplate>
                                <asp:Label ID="lblGrossWT" runat="server" Text='<%# Eval("GrossWT") %>' 
                                    meta:resourcekey="lblGrossWTResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="体积" SortExpression="VOL" 
                            meta:resourcekey="TemplateFieldResource12">
                            <ItemTemplate>
                                <asp:Label ID="lblVOL" runat="server" Text='<%# Eval("VOL") %>' 
                                    meta:resourcekey="lblVOLResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="备注" SortExpression="Remark" 
                            meta:resourcekey="TemplateFieldResource13">
                            <ItemTemplate>
                                <asp:Label ID="lblRemark" runat="server" Text='<%# Eval("Remark") %>' 
                                    meta:resourcekey="lblRemarkResource2"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <HeaderStyle HorizontalAlign="Center" />
                    <RowStyle HorizontalAlign="Center" />
                </asp:GridView>               
            </div>
            <div>
            
            <div class="title">
                &nbsp;<asp:Label ID="Label4" runat="server" Text="车辆列表" 
                    meta:resourcekey="Label4Resource1"></asp:Label></div>
            <div class="list_title">
                <div class="autoleft">
                      <asp:Label ID="Label5" runat="server" Text="检索出" 
                            meta:resourcekey="lblSelectOutResource1"></asp:Label>
                      <asp:Label ID="lblTotalTruck" runat="server" 
                          meta:resourcekey="lblTotalTruckResource1"></asp:Label><asp:Label ID="Label6" runat="server" Text="条记录" 
                            meta:resourcekey="lblSelectOut2Resource1"></asp:Label></div>
                <div class="autoright">
                     <asp:Label ID="Label7" runat="server" Text="每页显示：" 
                            meta:resourcekey="lblPerPageResource1"></asp:Label>
                    <asp:DropDownList ID="ddlPagesTruck" runat="server" AutoPostBack="True" 
                         OnSelectedIndexChanged="ddlPagesTruck_SelectedIndexChanged" 
                         meta:resourcekey="ddlPagesTruckResource1">
                        <asp:ListItem Selected="True" Text="5" Value="5" 
                            meta:resourcekey="ListItemResource3"></asp:ListItem>
                        <asp:ListItem Text="10" Value="10" meta:resourcekey="ListItemResource4"></asp:ListItem>
                    </asp:DropDownList>
                </div>
            </div>
            <asp:GridView ID="gvTruckList" runat="server" AllowPaging="True" PageSize="5"
                    EmptyDataText="没有分配车辆" AutoGenerateColumns="False" Width="100%" CssClass="tblGridView"
                    AllowSorting="True" onpageindexchanging="gvTruckList_PageIndexChanging" 
                    onsorting="gvTruckList_Sorting" meta:resourcekey="gvTruckListResource1" 
                    >
                    <PagerTemplate>
                        <table style="width: 100%">
                            <tr>
                                <td>
                                   <asp:Label ID="lblPerPage" runat="server" Text="页次" 
                                        meta:resourcekey="lblPerPageResource2"></asp:Label>&nbsp;<asp:Label 
                                        ID="Label1" runat="server" 
                                        Text='<%# ((GridView)Container.Parent.Parent).PageIndex+1 %>' 
                                        meta:resourcekey="Label1Resource2"></asp:Label>/<asp:Label
                                        ID="Label2" runat="server" 
                                        Text='<%# ((GridView)Container.Parent.Parent).PageCount %>' 
                                        meta:resourcekey="Label2Resource2"></asp:Label><asp:Label
                                                ID="lblPage" runat="server" Text="页" 
                                        meta:resourcekey="lblPageResource1"></asp:Label>&nbsp;
                                    <asp:Label ID="lblTotalPages" runat="server" Text="总计" 
                                        meta:resourcekey="lblTotalPagesResource1"></asp:Label>&nbsp;<asp:Label 
                                        ID="Label3" runat="server" 
                                        Text="<%# ((System.Data.DataView)gvTruckList.DataSource).Count %>" 
                                        meta:resourcekey="Label3Resource2"></asp:Label>
                                </td>
                                <td align="right">
                                    <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Page" CommandArgument="First"
                                        Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=0 %>" 
                                        Text="首页" meta:resourcekey="LinkButton1Resource2"></asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton2" runat="server" CommandArgument="Prev" CommandName="Page"
                                        Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=0 %>" 
                                        Text="前页" meta:resourcekey="LinkButton2Resource2"></asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton3" runat="server" CommandName="Page" CommandArgument="Next"
                                        Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=((GridView)Container.Parent.Parent).PageCount-1 %>"
                                        Text="后页" meta:resourcekey="LinkButton3Resource2"></asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton4" runat="server" CommandArgument="Last" CommandName="Page"
                                        Enabled="<%# ((GridView)Container.Parent.Parent).PageIndex!=((GridView)Container.Parent.Parent).PageCount-1 %>"
                                        Text="尾页" meta:resourcekey="LinkButton4Resource2"></asp:LinkButton>&nbsp;
                                    <asp:Label ID="lblTurnOnTruck" runat="server" Text="转第" 
                                        meta:resourcekey="lblTurnOnTruckResource1"></asp:Label>
                                    <asp:TextBox ID="txtPagesTruck"
                                        runat="server" Width="35px" meta:resourcekey="txtPagesTruckResource1"></asp:TextBox>
                                    <asp:Label ID="lblPages2Truck" runat="server" Text="页" 
                                        meta:resourcekey="lblPages2TruckResource1"></asp:Label>
                                    <asp:LinkButton ID="lbtnGoTruck" runat="server" Text="提交" 
                                        OnClick="lbtnGoTruck_Click" meta:resourcekey="lbtnGoTruckResource1"></asp:LinkButton>
                                </td>
                            </tr>
                        </table>
                    </PagerTemplate>
                    <Columns>
                        <asp:TemplateField HeaderText="车牌号" SortExpression="LicenseNO" 
                            meta:resourcekey="TemplateFieldResource14">
                            <ItemTemplate>
                                <asp:Label ID="lblLicenseNO" runat="server" Text='<%# Eval("LicenseNO") %>' 
                                    meta:resourcekey="lblLicenseNOResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="运输队" SortExpression="Contractor" 
                            meta:resourcekey="TemplateFieldResource15">
                            <ItemTemplate>
                                <asp:Label ID="lblContractorName" runat="server" 
                                    Text='<%# Eval("ContractorName") %>' 
                                    meta:resourcekey="lblContractorNameResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="司机" SortExpression="Driver" 
                            meta:resourcekey="TemplateFieldResource16">
                            <ItemTemplate>
                                <asp:Label ID="lblDriverName" runat="server" Text='<%# Eval("DriverName") %>' 
                                    meta:resourcekey="lblDriverNameResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="车型" SortExpression="Type" 
                            meta:resourcekey="TemplateFieldResource17">
                            <ItemTemplate>
                                <asp:Label ID="lblType" runat="server" Text='<%# Eval("TypeName") %>' 
                                    meta:resourcekey="lblTypeResource1"></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField> 
                    </Columns>
                    <HeaderStyle HorizontalAlign="Center" />
                    <RowStyle HorizontalAlign="Center" />
                </asp:GridView>
            </div>
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnCancel" EventName="Click" />
            <asp:AsyncPostBackTrigger ControlID="btnConfirm" EventName="Click" />
        </Triggers>
    </asp:UpdatePanel>
    <div align="center">
        <asp:Button ID="btnConfirm" runat="server" Text="确认" CssClass="btn" 
            OnClick="btnConfirm_Click" meta:resourcekey="btnConfirmResource1" />&nbsp;
        <asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="btn" 
            onclick="btnCancel_Click" meta:resourcekey="btnCancelResource1"  />&nbsp;
        <asp:Button
            ID="btnBack" runat="server" Text="返回" CssClass="btn" 
            onclick="btnBack_Click" meta:resourcekey="btnBackResource1"  />
    </div>
    <input type="hidden" id="hidUpdateNum" runat="server" />
</asp:Content>


